/**
 * Created by aa on 2016/9/23.
 */
'use strict';
let Redux=require('redux');
let utils=require('../common/utils.js');
let cr=utils.cr;
let actions=require('../actions/fundDetail');



var reducers=Redux.combineReducers({
    //基金基本信息
    normalInfo:cr([],{[actions.RECEIVE_NORMAL_INFO](state,action){
        return action.normalInfo;
    }
    }),
    //基金业绩排名
    fundPerformance:cr([],{[actions.RECEIVE_FUND_PERFORMANCE](state,action){
        return action.fundPerformance;
    }
    }),
    //净值数据
    fundNavHislist:cr([],{[actions.RECEIVE_FUND_NAV_HISLIST](state,action){
        return action.fundNavHislist;
    }
    })
});

module.exports=reducers;